<!-- @Author ： NWJ
     Version ： 1.0 -->
<script>
import TopNav from '@/components/TopNav.vue'
import GlassCard from '@/views/common/GlassCard.vue'

export default {
  components: {
    TopNav,
    GlassCard
  }
}
</script>

<template>
  <TopNav></TopNav>
  <div class="main">
    <GlassCard></GlassCard>
    <div class="decor-circle decor-circle--top"></div>
    <div class="decor-circle decor-circle--bottom"></div>
    <div class="decor-glow"></div>
  </div>
</template>

<style scoped>
.main {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0f222f 0%, #1a3547 100%);
  height: 100vh;
  overflow: hidden;
  position: relative;
  user-select: none;
  transition: background 0.3s ease-in-out;
}

.main:hover {
  background: linear-gradient(135deg, #0f222f 0%, #1e3c52 100%);
}

.main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.decor-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  animation: float 5s ease-in-out infinite;
}

.decor-circle--top {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -75px;
  opacity: 0.9;
}

.decor-circle--bottom {
  width: 250px;
  height: 250px;
  bottom: -125px;
  right: -50px;
  opacity: 0.85;
}

.decor-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(50, 80, 100, 0.35) 0%, rgba(50, 80, 100, 0) 65%);
  pointer-events: none;
  animation: pulse 3.5s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-60px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}
</style>
